package jus.aor.mobilagent.hostel;

import java.util.Date;

import jus.aor.mobilagent.kernel._Service;

public class Duration implements _Service<Long> {

	
	public Duration (Object...params){
		super();
	}
	@Override
	public Long call(Object... params) throws IllegalArgumentException {
		return new Date().getTime() - (Long) params[0];
	}
}
